<template>
  <div class="h-icon-num row non-selectable">
    <div class="icon justify-center flex items-center">
      <q-icon class="icon fit" :name="icon"></q-icon>
    </div>
    <div class="label col justify-center items-center">{{ label }}</div>
  </div>
</template>
<script lang="ts">
import { defineComponent, ref } from 'vue';
export default defineComponent({
  name: 'h-icon-num',
  props: {
    icon: String,
    label: [String, Number],
  },
  setup (props) {
    return {};
  },
});
</script>
<style lang="sass" scoped>

.h-icon-num
  min-width: 24px
  height: 18px
  border-radius: 3px
  background-color: #242424
  border: 1px solid #101010
  font-size: 10px
  .label
    padding: 0px 4px
    min-width: 16px
  .icon
    background-color: #101010
    border-radius: 3px 0px 0px 3px
    min-width: 18px
    padding: 0px
</style>